package com.wendy.system.conf.errorcode;

import com.wendy.common.core.constant.HttpStatus;
import com.wendy.common.core.errcode.base.BaseError;

public class DictypeError extends BaseError {

    public static DictypeError ADD_ERROR = new DictypeError("新增字典%s失败，字典类型已存在", HttpStatus.ERROR);
    public static DictypeError EDIT_ERROR   = new DictypeError("修改字典%s失败，字典类型已存在", HttpStatus.ERROR);
    public DictypeError() {
    }

    public DictypeError(String msg, Integer code) {
        super(msg, code);
    }
}
